home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / pcl / sptmbr11.lha / clcs / README < prev    next >
Text File  |  1992-04-23  |  2KB  |  38 lines

  1. This directory contains an implementation of the Common Lisp
  2. Condition System for KCL.  It is based on Kent Pitman's cond18.lisp,
  3. and will work both with and without CLOS.
  4.  
  5. If you wish to revert to KCL's original error handling system
  6. after loading clcs use (conditions::revert-clcs-symbols).
  7.  
  8.  
  9. If PCL (or some other CLOS implementation) is loaded after
  10. clcs is loaded, and you want to change clcs to use clos,
  11. just call (load-clcs) again.  (You might need to call 
  12. (compile-clcs) first.)  The CLOS dependencies are restricted to 
  13. the files conditions.lisp and condition-definitions.lisp.
  14.  
  15.  
  16. (optional)
  17. The CLCS system redefines the functions LOAD and OPEN (adding
  18. restart handlers), and the function SYSTEM:ERROR-SET.  But AKCL is
  19. set up to compile calls to these functions into direct calls to
  20. C functions.  You can fix this by:
  21.      A. Edit the file cmpnew/lfun_list.lsp, commenting out every line
  22.         that begins with #-clcs.  
  23.      B. Remake AKCL.
  24.      C. Delete the files cmpnew/cmputil.o, and lsp/debug.o (these files 
  25.         call SYSTEM:ERROR-SET).
  26.      D. Remake AKCL.
  27.  
  28.  
  29. Still to do:
  30.   The mapping from error-name,error-format-string (the first and 
  31. fifth arguments to si:universal-error-handler) to condition classes
  32. that is defined in the file kcl-cond.lisp is incomplete.  The error
  33. calls made by the kcl files c/error.c, c/eval.c, and c/file.d are
  34. mapped correctly, but other all other calls are mapped to a
  35. condition (conditions::internal-simple-error) that is (often) less 
  36. specific than the correct condition.  
  37.  
  38.